<template id="loading-template">
	<div class="ui-modal" v-el:modal>
		<div>
			<div class="modal-dialog text-center">
			  <h4 style="color:#fff">正在加载，请稍候...</h4>
			  <div class="divide-20"></div>
				<div class="loader" style="display:inline-block">
					<div class="loader-inner ball-spin-fade-loader">
						<div></div>
						<div></div>
						<div></div>
						<div></div>
						<div></div>
						<div></div>
						<div></div>
						<div></div>
					</div>
				</div>							
			</div>			
		</div>
	</div>
</template>
<style lang="css" src="./loader.css"></style>
<script>
export default {
    methods: {
			init() {
				$(this.$els.modal).modal('show'); 
			},			
			hide() {
				$(this.$els.modal).modal('hide'); 
			}		
		}
}
</script>